# -*- coding: utf-8 -*-
import wx
import wx.html

class RememberAboutWnd(wx.Dialog):
    text = u'''<html><body bgcolor="#FFFF58">
    <center><table bgcolor="#2FFF58" width="100%" cellspacing="0"
cellpadding="0" border="0">
<tr>
    <td align="center"><h1>Remember</h1></td>
</tr>
</table>
</center>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Remember</b>的目标是一个集GTD、知识
管理管理、个人Blog、Twitter客户端等
于一体的软件，欢迎提出您的宝贵意见，
</p>
<p>更多详情请访问http://www.xxxx.net </p>
<p>作者：cooling, Copyright © 2009.</p>
</body>
</html>
    '''

    def __init__(self, parent):
        wx.Dialog.__init__(self, parent, -1, u'关于 Remember',
                          size=(330, 290) )

        html = wx.html.HtmlWindow(self)
        
        html.SetPage(self.text)
        button = wx.Button(self, wx.ID_OK, u"确定")

        sizer = wx.BoxSizer(wx.VERTICAL)
        sizer.Add(html, 1, wx.EXPAND|wx.ALL, 0)
        sizer.Add(button, 0, wx.ALIGN_CENTER|wx.BOTTOM, 8)

        self.SetBackgroundColour(wx.Colour(255, 255, 168)) 
        self.SetSizer(sizer)
        self.Layout()
if __name__ == "__main__":
    app = wx.PySimpleApp()
    main = RememberAboutWnd(None)
    main.Show()
    app.MainLoop()

